package com.dashboard.cloud.http.controller;

import com.dashboard.cloud.http.service.HttpClientService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * All rights Reserved, Designed By www.super-master.com
 *
 * @ProjectName: spring-cloud-dashboard
 * @Package: com.dashboard.cloud.http.controller
 * @ClassName: HttpClientController
 * @Description: []
 * <p> </p>
 * @Author: [Lance Ting]
 * @Date: 2024/11/15 11:25
 * @Version: V1.0
 * @Copyright: 2024 www.super-master.com Inc. All rights reserved.
 * TODO: 注意,本文件Lance Ting所作,如果转载或使用请标明具体出处!
 **/
@RestController
@RequestMapping("/http")
public class HttpClientController {
    @Resource
    private HttpClientService httpClientService;

    @GetMapping("/server/status")
    public String verifyRemoteServer() {
        return httpClientService.verifyRemoteServer();
    }
}